package com.jinke.api.modules.app.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum OrderType {

    CREATE(1, "手动创建"),
    BATCH(2, "批量导入"),
    API(3, "API"),
    BAAPI(4, "JOB跑的批量下单"),
    ;


    @EnumValue
    @JsonValue
    private final int value;
    private final String desc;

    OrderType(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }


}